-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Behavioral Analytics] Temporary remove GeoIP Processor from pipeline #96159
Conversation
…ily load the geo database
@@ -57,13 +57,6 @@ | |||
"ignore_missing": true | |||
} | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eyalkoren May I ask a few questions? This pipeline is now managed by the IndexTemplate registry
- do I need to increase the
REGISTRY_VERSION
for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally speaking- yes. As long as you use the same pipeline ID, I believe it won't be upgraded if it is already installed otherwise.
In your specific case, maybe it is not required (and even not preferred), because the geoip DB has already been downloaded, so you might as well keep using its processor...
I guess you need to decide whether you enforce proper version maintenance (and increase the version) or make an exception in this case (not increase the version- then only new clusters will use this form).
I hope this makes sense...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the answer! Yep as this is only a temporary change and will have a further change before 8.9 release, I will keep the version number the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if your further change restores the pipeline state to be the same as it was before, this is indeed not required.
However, if after all your pipeline (or any other component installed through your registry) changes, then version should be increased, otherwise it won't be upgraded in rolling upgrades.
Pinging @elastic/ent-search-eng (Team:Enterprise Search) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Due to the impact in tests #96129, we want to remove the geoip processor and re-introduce it for 8.9, once we have figured a path to lazily load the geoip database that the geo-ip processor requires.